home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / UTIL / MEMORY / OLD / MEM208SRC / !Memphis / Makefile < prev    next >
Makefile  |  1993-09-09  |  3KB  |  127 lines

  1. # Project name:   Memphis
  2. #
  3. # AMU Makefile for MemFS/MemFSFiler modules
  4. # By BDB & Nick Smith, 1993
  5.  
  6. # Toolflags:
  7. SQUEEZE = squeeze -v
  8. MSQUEEZE = modsqz -v
  9. DEPEND = -depend !Depend
  10. CFLAGS= $(DEPEND) -c -zM -ffah -throwback -I^.fslib
  11. CC=cc
  12. LN = link -rmf -map
  13. AS = aasm $(DEPEND) -throwback -m -q
  14. DATFLAGS = -DP -P -S -D _data -L _length
  15.  
  16. # Dependencies
  17.  
  18. LIBS = c:stubs.o c:risc_oslib.o
  19.  
  20. FSFILES = ^.fslib.FSLIB
  21.  
  22. FSLIB = $(FSFILES) $(LIBS)
  23.  
  24. MEMFSBITS = sprstore.o inode.o memcore.o mem.o spr.o compress.o Lfile.o $(FSLIB)
  25.  
  26. MEMFILERBITS = filermem.o memfiler.o templates.o protect.o $(FSLIB)
  27.  
  28. # Targets
  29.  
  30. all: MemFS MemFiler 
  31.  
  32. MemFS: $(MEMFSBITS)
  33.         $(LN) -o $@ $(MEMFSBITS)
  34.         $(MSQUEEZE) $@
  35. #        $(SQUEEZE) $@
  36.  
  37. MemFiler: $(MEMFILERBITS)
  38.         $(LN) -o $@ $(MEMFILERBITS)
  39.         $(MSQUEEZE) $@
  40. #        $(SQUEEZE) $@
  41.  
  42. clean:
  43.         wipe o.* ~v~c
  44. #        remove memfs
  45. #        remove memfiler
  46.  
  47. .SUFFIXES: .cmhg .o .s .c .cmhg' .dat
  48. .c.o :
  49.                 $(CC) $(CFLAGS) $<
  50. .s.o :
  51.                 objasm $(DEPEND) $< $@ -stamp -quit
  52. .cmhg.o :
  53.                 cmhg $< $@
  54. .cmhg'.o :
  55.                 cmhgRMA $< $@
  56.  
  57. .dat.o :
  58.                 datatoaof -f $< -o $@ $(DATFLAGS)
  59.  
  60. # Dynamic dependencies:
  61. o.spr:    c.spr
  62. o.spr:    c:h.kernel
  63. o.spr:    c:h.swis
  64. o.spr:    ^.fslib.h._swis
  65. o.spr:    c:h.sprite
  66. o.spr:    c:h.os
  67. o.spr:    ^.fslib.h.interface
  68. o.spr:    ^.fslib.h.core
  69. o.spr:    h.spr
  70. o.protect: hdr.regs
  71. o.protect: hdr.swis
  72. o.sprstore:    c.sprstore
  73. o.sprstore:    c:h.kernel
  74. o.sprstore:    c:h.swis
  75. o.sprstore:    c:h.sprite
  76. o.sprstore:    c:h.os
  77. o.sprstore:    ^.fslib.h.util
  78. o.sprstore:    ^.fslib.h.interface
  79. o.sprstore:    ^.fslib.h.core
  80. o.sprstore:    h.spr
  81. o.sprstore:    h.Lfile
  82. o.sprstore:    h.store
  83. o.memcore:    c.memcore
  84. o.memcore:    ^.fslib.h.FS
  85. o.memcore:    c:h.kernel
  86. o.memcore:    c:h.swis
  87. o.memcore:    ^.fslib.h.Interface
  88. o.memcore:    ^.fslib.h.ModuleWrap
  89. o.memcore:    ^.fslib.h.util
  90. o.memcore:    ^.fslib.h.core
  91. o.memcore:    h.store
  92. o.memcore:    h.inode
  93. o.memcore:    ^.fslib.h.ticker
  94. o.inode:    c.inode
  95. o.inode:    ^.fslib.h.interface
  96. o.inode:    c:h.kernel
  97. o.inode:    ^.fslib.h.core
  98. o.inode:    h.store
  99. o.inode:    h.inode
  100. o.inode:    ^.fslib.h.util
  101. o.templates: hdr.regs
  102. o.templates: hdr.swis
  103. o.templates: s.Macros
  104. o.compress:    c.compress
  105. o.compress:    c:h.kernel
  106. o.compress:    c:h.swis
  107. o.compress:    ^.fslib.h._swis
  108. o.compress:    h.compress
  109. o.Lfile:    c.Lfile
  110. o.Lfile:    c:h.kernel
  111. o.Lfile:    c:h.swis
  112. o.Lfile:    ^.fslib.h._swis
  113. o.Lfile:    ^.fslib.h.util
  114. o.Lfile:    ^.fslib.h.interface
  115. o.Lfile:    h.compress
  116. o.Lfile:    h.Lfile
  117. o.memfiler:    c.memfiler
  118. o.memfiler:    c:h.kernel
  119. o.memfiler:    c:h.swis
  120. o.memfiler:    ^.fslib.h.ModuleWrap
  121. o.memfiler:    ^.fslib.h.util
  122. o.memfiler:    ^.fslib.h.interface
  123. o.memfiler:    ^.fslib.h.cstart
  124. o.memfiler:    c:h.wimp
  125. o.memfiler:    c:h.os
  126. o.memfiler:    c:h.sprite
  127.